# 无序不可重复

student_age = {1, 2, 3, 4, 5}
print(student_age)

student_age = set()
print(student_age)

student_age.add('你好')
print(student_age)
student_age.remove('你好')
print(student_age)
student_age.clear()
print(student_age)

data = {1, 2, 3, 3, 4}
data2 = {1, 2}

print(data.difference(data2))

data = {1, 2, 3, 4}
data2 = {5, 6, 7, 8}
print(data.union(data2))
